package com.wu.shop.module.launch.ui.activity

import android.content.Context
import android.content.Intent
import androidx.databinding.ViewDataBinding
import com.wu.common.base.ui.activity.MvpBaseActivity
import com.wu.shop.R
import com.wu.shop.databinding.ActivityLaunchBinding
import com.wu.shop.module.launch.frame.presenter.LaunchPresenter
import com.wu.shop.module.launch.frame.view.LaunchView


/**
 * @author wkq
 *
 * @date 2021年07月05日 16:56
 *
 *@des
 *
 */

class LaunchActivity :MvpBaseActivity<LaunchView, LaunchPresenter,ActivityLaunchBinding>() {

    companion object{
        fun newInstance(context: Context, url: String?, title:String?) {
            var intnet = Intent(context, LaunchActivity().javaClass)
            intnet.putExtra("path", url)
            intnet.putExtra("title", title)
            context.startActivity(intnet)
        }

    }

    override fun getLayoutId(): Int {
        return R.layout.activity_launch
    }


}